package cn.cdeden.system.service;

import cn.cdeden.common.core.utils.page.TableDataInfo;
import cn.cdeden.common.mybatis.core.page.PageQuery;
import cn.cdeden.system.domain.FilesTreeRecycle;
import cn.cdeden.system.domain.dto.FilesTreeRecycleParam;
import cn.cdeden.system.domain.vo.FilesTreeRecycleVo;
import com.baomidou.mybatisplus.extension.service.IService;
import io.undertow.util.BadRequestException;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface FilesTreeRecycleService extends IService<FilesTreeRecycle>{



    TableDataInfo<FilesTreeRecycleVo> selectRecycleAll(FilesTreeRecycleParam param, PageQuery pageable);


    List<FilesTreeRecycle> selectRecycle(String id, List<String> list, String parentId, String type) throws BadRequestException;




    boolean deleteAll();
    boolean delete(String type);


}
